package com.ebspp.server.storage;

import java.util.List;

import com.ebspp.thrift.DataMsg;

/**
 * The resource interface
 * All resource should support the following functions
 * @author x23pan
 *
 */
public interface IStore 
{
	public boolean close();
	
	public List<DataMsg> bulkWrite(List<DataMsg> data);
	
	public List<DataMsg> bulkRead(List<DataMsg> data);
	
	public List<DataMsg> garbageCollect(List<DataMsg> data);
}
